First snow in 2020. Actually, it is ALSO the FIRST snow for the winter from 2019 to 2020.
| First Snow 1 | First Snow 2 | First Snow 3 |
|---|---|---|
![]() |
![]() |
![]() |
Both my son and the Chinese New Year are coming. Let’s start the mode of celebrating. Today, I’m going to do the hotpot.
| Hotpot 1 | Hotpot 2 | Hotpot 3 |
|---|---|---|
![]() |
![]() |
![]() |
It looks in 1-day time, everybody is doing the edge computing. Today, we’re going to have some fun of Google Coral.
1. Google Coral USB Accelerator

To try out Google Coral USB Accelerator is comparitively simple. The ONLY thing to do is just to follow Google Doc - Get started with the USB Accelerator. Anyway, let’s test it out with the following commands.
Make sure we are able to list the device.
1 | ➜ classification git:(master) ✗ lsusb |
We then run the example.
1 | ➜ classification git:(master) ✗ python3 classify_image.py \ |
BTW, I’m going to discuss Google Coral TPU, Intel Movidius VPU and Cambricon NPU which has been adopted in HuaWei Hikey 970 and Rockchip 3399 Pro, sooner or later. Just keep an eye on my blog.
2. Google Coral Dev Board
In the following, we’re going to disscuss Google Coral Dev Board more.

2.1 Mendel Installation
2.1.1 Mendel Linux Preparation
Google Corel Mendel Linux can be downloaded from https://coral.ai/software/. In our case, we are going to try Mendel Linux 4.0.
2.1.2 Connect Dev Board
On the host, we should be able to see:
1 | ➜ mendel-enterprise-day-13 lsusb |
Now what you see is a black screen. After having connected the Type C power cable, we should be able to see:
1 | power_bd71837_init |
That is what’s printed from Google Coral Dev Board. After having connected the Type C OTG cable, we should be able to see on the host:
1 | ➜ mendel-enterprise-day-13 fastboot devices |
2.1.3 Flash Corel Dev Board
1 | ➜ mendel-enterprise-day-13 ls |
You will be able to see Google Coral Dev Board is NOW connected. If you don’t see the EXPECTED output wishful-orange (192.168.101.2), just plug out and plug in the Type C power cable again.
2.1.4 Boot Mendel
Unfortunately, mdt tool does NOT work properly.
1 | ➜ mendel-enterprise-day-13 mdt shell |
This bug has been clarified on StackOverflow. By modifying file vim $HOME/.local/lib/python3.6/site-packages/mdt/sshclient.py line 86, from if not self.address.startswith('192.168.100'): to if not self.address.startswith('192.168.10'):, problem solved.
1 | ➜ mendel-enterprise-day-13 mdt shell |
After activate the Internet by nmtui, we can NOW clearly see the wlan0 IP is automatically allocated.
1 | mendel@wishful-orange:~$ ip -c address |
Of course, we can setup a static IP for this particular Google Coral Dev Board afterwards.
2.1.5 SSH into Mendel
In order to SSH into Mendel and connect remotely, we need to do Connect to a board’s shell on the host computer. You MUST pushkey before you can ssh into the board via the Internet IP instead of the virtual IP via USB, say 192.168.100.2 or 192.168.101.2.
2.2 Demonstration
2.2.1 edgetpu_demo --device
Have NO idea why it is so so far. Does that mean I’ve got to connect a monitor with Google Coral Dev Board for this demo?
1 | mendel@wishful-orange:~$ edgetpu_demo --device |
2.2.2 edgetpu_demo --stream
From Google Coral Dev Board server, the output is as follows:
1 | mendel@wishful-orange:~$ edgetpu_demo --stream |
However, on the client side, it’s just ALL black.
2.2.3 Classification
1 | mendel@wishful-orange:~/Downloads/tflite/python/examples/classification$ python3 classify_image.py \ |
2.2.4 Camera
1 | mendel@wishful-orange:~$ v4l2-ctl --list-formats-ext --device /dev/video0 |
3. Bugs
3.1 Wayland Bug
1 | mendel@wishful-orange:~$ systemctl status weston.service |
3.2 Python Packages Failed to Install
By using Python3 pip, Mendel failed to let me install some key Python packages:
- Scipy
- Pandas
etc.



































